package com.base.common.entity;

/**
 * 投诉工单实体类
 * 
 * @author Administrator
 *
 */
public class ComplaintTicket {
	private int id; // 主键id
	private String code; // 工单据工单号
	private String address; // 业主位置
	private String context; // 报修内容
	private int categories; // 工单类别
	private String getTime; // 接单时间
	private String endTime; // 完成时间
	private int status; // 工单状态
	private String picUrls; // 图片链接地址，多个图片地址以分号分隔
	private String remarks; // 备注
	private int userId; // 业主id
	private int score; // 工单评分

	/**
	 * 无参构造方法
	 */
	public ComplaintTicket() {
	}

	public ComplaintTicket(int id, String code, String address, String context,
			int categories, String getTime, String endTime, int status,
			String picUrls, String remarks, int userId, int score) {
		this.id = id;
		this.code = code;
		this.address = address;
		this.context = context;
		this.categories = categories;
		this.getTime = getTime;
		this.endTime = endTime;
		this.status = status;
		this.picUrls = picUrls;
		this.remarks = remarks;
		this.userId = userId;
		this.setScore(score);
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public int getCategories() {
		return categories;
	}

	public void setCategories(int categories) {
		this.categories = categories;
	}

	public String getGetTime() {
		return getTime;
	}

	public void setGetTime(String getTime) {
		this.getTime = getTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getPicUrls() {
		return picUrls;
	}

	public void setPicUrls(String picUrls) {
		this.picUrls = picUrls;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}
}
